﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = EnergyTransferers
		Size                           = Small
		Module                         = livostid pt3 small energy transferer prototype
		CpuUsage                       = 37.00 TF
		ReactorUsage                   = 33.00 RP
		Type                           = Active
		Slot                           = Other
		TechnologicalLevel             = T4P
		Mass                           = 75.00 kg
		PackedVolume                   = 0.25 U
		Volume                         = 0.50 U
		AccumulatorConsumption         = 1.00 AP
		CycleTime                      = 10.00 sec
		OptimalRange                   = 180 m
		TransferedEnergy               = 45 AP
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Livostid PT3 small energy transferer prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class LivostidPt3SmallEnergyTransfererPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="LivostidPt3SmallEnergyTransfererPrototype"/> class.
        /// </summary>
        public LivostidPt3SmallEnergyTransfererPrototype()
            : base(
            "Livostid PT3 small energy transferer prototype",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.EnergyTransferers,
            TechnologyLevelsEnum.Level4|TechnologyLevelsEnum.Prototype,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),37.00),
				new LazyFeature(typeof(ReactorUsage<double>),33.00),
				new LazyFeature(typeof(ModuleMass<double>),75.00),
				new LazyFeature(typeof(EnergyTransfererAccumulatorUsage<double>),1.00),
				new LazyFeature(typeof(EnergyTransfererCycleTime<double>),10.00),
				new LazyFeature(typeof(EnergyTransfererOptimal<double>),180),
				new LazyFeature(typeof(EnergyTransfererTransferedEnergy<double>),45), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 75.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Chassis; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Misc; }
        }
    }
}